package com.example.clientmiviamoviego4;

import java.util.ArrayList;
import java.util.List;

/**
 * Classe che definisce l'utente definendone l'ID associato, e la lista di
 * generi di film che l'utente stesso ha scelto.
 * 
 * @author Gang of Four
 * */
public class User {
	private String id;
	private List<ParcelableMovieType> movieTypes;

	public User() {
		id = "";
		movieTypes = new ArrayList<ParcelableMovieType>();
	}

	public User(String id, List<ParcelableMovieType> movieTypes) {
		super();
		this.id = id;
		this.movieTypes = movieTypes;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public List<ParcelableMovieType> getMovieTypes() {
		return movieTypes;
	}

	public void setMovieTypes(List<ParcelableMovieType> movieTypes) {
		this.movieTypes = movieTypes;
	}

}
